/**
 * 转换  广告类型
 */
function transitionAdType(adType){

	switch (adType){
	   case "video":
		  adType ="视频";
	     break
	   case "picture":
		  adType ="图片";
	     break
	   default:
	     adType ="";
	}
	
	return adType;
}

/**
 * 转换  mobile，pc，pad，tv
 */
function transitionTerminalTyp(terminalType){
	switch (terminalType) {
	   case "mobile":
		   terminalType ="手机";
	     break;
	   case "pc":
		   terminalType =" PC";
	     break;
	   case "pad":
		   terminalType ="PAD";
	     break;
	   case "tv":
		   terminalType ="互联网电视";
	     break;
	   default:
		   terminalType ="";
	}
	
	return terminalType;
}


/**
 * 反向转换  mobile，pc，pad，tv
 */
function transitionFTerminalTyp(terminalType){
	switch (terminalType) {
	   case "手机":
		   terminalType ="mobile";
	     break;
	   case "PC":
		   terminalType ="pc";
	     break;
	   case "PAD":
		   terminalType ="pad";
	     break;
	   case "互联网电视":
		   terminalType ="tv";
	     break;
	   default:
		   terminalType ="";
	}
	
	return terminalType;
}


/**
 * 转换 状态  0:待审核、1：未审核、2：待投放、3：投放中、4：已下架、
 */
function transitionStatus(status){
	 
	switch (status){
	   case "0":
		   status ="待审核";
	     break
	   case "1":
		   status =" 未审核";
	     break
	   case "2":
		   status ="待投放";
	     break
	   case "3":
		   status ="投放中";
		   break
	   case "4":
		   status ="已下架";
	     break
	   default:
		   status ="";
	}
	
	return status;
}
